package com.dp.pojo;

import java.io.Serializable;

import com.dp.vo.NewsTemplatefield;

public class NewsTemplatefieldVo implements Serializable{
	
	private static final long serialVersionUID = 1L;
	private NewsTemplatefield templatefield;
	private String fieldvalue;
	private String iphonetaghtm;
	private String ipadtaghtm;
	private String k16taghtm;
	
	public NewsTemplatefieldVo(){
    	
    }
    public NewsTemplatefieldVo(Integer id){
    	this.templatefield=new NewsTemplatefield(id);
    }
	public NewsTemplatefield getTemplatefield() {
		return templatefield;
	}
	public void setTemplatefield(NewsTemplatefield templatefield) {
		this.templatefield = templatefield;
	}
	public String getFieldvalue() {
		return fieldvalue;
	}
	public void setFieldvalue(String fieldvalue) {
		this.fieldvalue = fieldvalue;
	}
	public String getIphonetaghtm() {
		return iphonetaghtm;
	}
	public void setIphonetaghtm(String iphonetaghtm) {
		this.iphonetaghtm = iphonetaghtm;
	}
	public String getIpadtaghtm() {
		return ipadtaghtm;
	}
	public void setIpadtaghtm(String ipadtaghtm) {
		this.ipadtaghtm = ipadtaghtm;
	}
	public String getK16taghtm() {
		return k16taghtm;
	}
	public void setK16taghtm(String k16taghtm) {
		this.k16taghtm = k16taghtm;
	}
	
	@Override
    public int hashCode() {
        int hash = 0;
        hash += (templatefield != null ? templatefield.hashCode() : 0);
        return hash;
    }

    @Override
    public boolean equals(Object object) {
        if (!(object instanceof NewsTemplatefieldVo)) {
            return false;
        }
        NewsTemplatefieldVo other = (NewsTemplatefieldVo) object;
        if ((this.templatefield == null && other.templatefield != null) || (this.templatefield != null && !this.templatefield.equals(other.templatefield))) {
            return false;
        }
        return true;
    }

    @Override
    public String toString() {
        return "com.dp.vo.NewsTemplatefieldVo[templatefield=" + templatefield + "]";
    }
    
}

